package com.four.reimbursemanage.service;

import com.four.reimbursemanage.common.bean.Page;
import com.four.reimbursemanage.entity.OutmoneyApply;
import com.four.reimbursemanage.entity.Payapply;
import com.four.reimbursemanage.entity.Workapply;

import java.util.Date;

public interface WorkapplyService {
    /**
     * 查询加班补助申请列表
     */
    public Page<Workapply> getOnrePage(int pageNum, int pageSize,
                                           String name, Date month, Integer state);

    /**
     * 查询本人加班补助申请列表
     */
    public Page<Workapply> getOnrePageUser(int pageNum, int pageSize,
                                       String name, Date month, Integer state, String number);

    /**
     * 新增加班补助申请
     */
    public boolean insertWorkapply(Workapply workapply);

    /**
     * 修改加班补助申请
     */
    public boolean updateWorkapply(Workapply workapply);

    /*撤销*/
    public boolean updateC(Workapply workapply);
}
